package com.pojo;

import java.util.Arrays;

/**
 * 城市信息类
 */
public class Hotel {
//    酒店id
    private String id;
//    城市id
    private String cityID;
//    酒店名称
    private String name;
//    酒店详细地址
    private String address;
//    酒店介绍
    private String introoduce;
//    住宿价格
    private int price;
//    入住人数
    private int numberOf;
//    酒店图片
    private byte[] img;

    @Override
    public String toString() {
        return "Hotel{" +
                "id='" + id + '\'' +
                ", cityID='" + cityID + '\'' +
                ", 酒店名称='" + name + '\'' +
                ", address='" + address + '\'' +
                ", introoduce='" + introoduce + '\'' +
                ", price=" + price +
                ", numberOf=" + numberOf +
                ", img=" + Arrays.toString(img) +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCityID() {
        return cityID;
    }

    public void setCityID(String cityID) {
        this.cityID = cityID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getIntrooduce() {
        return introoduce;
    }

    public void setIntrooduce(String introoduce) {
        this.introoduce = introoduce;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getNumberOf() {
        return numberOf;
    }

    public void setNumberOf(int numberOf) {
        this.numberOf = numberOf;
    }

    public byte[] getImg() {
        return img;
    }

    public void setImg(byte[] img) {
        this.img = img;
    }
}
